package ck.tool.stocksmart;

import ck.tool.stocksmart.R;
import android.app.Activity;
import android.app.NotificationManager;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class NextActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.next);
		Intent intent=getIntent();
        String stringValue=intent.getStringExtra("extra");
        Log.v("before is ", stringValue);
        NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);

        // cancel the notification that we started in IncomingMessage
        nm.cancel(R.string.stock_alarm_service_started);
	}

}
